package org.xjc.config;


/**
 * @Author : XJC
 * @Description :当前线程的请求参数
 * @create : 2022/7/26 9:43
 */
public class RequestVariable {

    static ThreadLocal<RequestData> requestData=new ThreadLocal<>();

    public static RequestData getRequestData() {
        return requestData.get();
    }

    public static void setRequestData(RequestData requestData) {
        RequestVariable.requestData.set(requestData);
    }
}
